#include"Queue.h"

void Test1()
{
	Que q;
	QueneInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);
	QNode* cur = q.head;
	while (cur)
	{
		printf("%d", cur->date);
		cur = cur->next;
	}
	printf("\n");
	QueuePop(&q);
	QueuePop(&q);
	QNode* cur2 = q.head;
	while (cur2)
	{
		printf("%d", cur2->date);
		cur2 = cur2->next;
	}

	Destroy(&q);

}



int main()
{
	Test1();
	return 0;
}